/**
 * Created by YangYan on 2016/5/11.
 */
KISSY.add("tbc/umpp/1.5.4/guest", function (a, b, c) {
    function d() {
        if (c.get("_l_g_") || c.get("lgc"))return !1;
        var a = 6e4;
        5 === Math.floor(51 * Math.random()) ? b.jsonp(i, function (b) {
            1 == b.code && (a = 12e4), e._guestTimer = setTimeout(d, a)
        }) : e._guestTimer = setTimeout(d, a)
    }

    var e = a.TBC.umpp, f = e.isOnline, g = e.cdnPath, h = e.Trinity, i = location.protocol + "//mpp." + (f ? "taobao.com" : "daily.taobao.net") + "/v2.do", j = "1.5.4", k = parseFloat(j) ? g + "/tbc/umpp/1.4.35/trinity.swf" : "trinity.swf";
    e.trinity = new h(null, k, {
        master: function () {
            e._guestTimer = setTimeout(d, 1e3 * Math.round(120 * Math.random()))
        }
    })
}, {requires: ["ajax", "cookie"]});
